Pod::Spec.new do |s|
    s.name         = 'LBIMSDK'
    s.version      = '0.1.0'
    s.summary      = '腾讯云2.x版本最新版(包含互动直播SDK)'
    s.homepage     = 'https://gitee.com/LewisYang/LBIMSDK'
    s.license      = { :type => 'Copyright', :text => 'Copyright ©2013-2017 Qcloud.com' }
    s.author       = { 'LINAICAI' => 'lnc@lianj.com' }
    s.source       = { :git => 'https://gitee.com/LewisYang/LBIMSDK.git', :tag => s.version.to_s, :submodules => true}
    
    s.ios.deployment_target = '8.0'
    s.frameworks = 'SystemConfiguration','AVFoundation','Accelerate','AssetsLibrary','AVKit','CoreVideo','CoreGraphics','CoreMedia','CoreTelephony','Foundation','OpenGLES','QuartzCore','VideoToolBox','ImageIO','UIKit','JavaScriptCore','OpenAL'
    
    s.libraries = 'c++','z','sqlite3','stdc++.6','bz2','c++','iconv','icucore','resolv','stdc++','protobuf'
    s.default_subspecs = 'Base','Core','Bugly','QALHttp','LIVE','QAV'
    
    
    s.subspec 'Base' do |sp|
        sp.vendored_frameworks = 'LBIMSDK/Classes/ImSDK.framework', 'LBIMSDK/Classes/QALSDK.framework', 'LBIMSDK/Classes/TLSSDK.framework'
    end
    
    s.subspec 'Core' do |sp|
        sp.vendored_frameworks = 'LBIMSDK/Classes/IMCore.framework'
        sp.dependency 'LBIMSDK/Base'
    end
    
    s.subspec 'Bugly' do |sp|
        sp.vendored_frameworks = 'LBIMSDK/Classes/IMSDKBugly.framework'
        sp.dependency 'LBIMSDK/Base'
    end
    
    s.subspec 'QALHttp' do |sp|
        sp.vendored_frameworks = 'LBIMSDK/Classes/QALHttpSDK.framework'
        sp.dependency 'LBIMSDK/Base'
    end
    
    s.subspec 'QAV' do |sp|
        sp.vendored_frameworks = 'LBIMSDK/Classes/QAVSDK.framework'
        sp.dependency 'LBIMSDK/Base'
    end
    
    s.subspec 'LIVE' do |sp|
        sp.vendored_frameworks = 'LBIMSDK/Classes/ILiveSDK.framework','LBIMSDK/Classes/TILLiveSDK.framework'
        sp.dependency 'LBIMSDK/Base'
        sp.dependency 'LBIMSDK/QAV'
        sp.dependency 'LBIMSDK/QALHttp'
        sp.dependency 'LBIMSDK/Core'
    end
    
    
end

